package net.yambal.RTM.Event
{
	import flash.events.Event;

	public class RestErrorEvent extends Event
	{
		
		public static const RTM_FAULT:String = "rtm_fault";
		
		public var code:int;
		public var massage:String;
		public var relay_obj:Object;
		
		public function RestErrorEvent(type:String, code:int, massage:String, relay_obj:Object, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.code = code;
			this.massage = massage;
			this.relay_obj = relay_obj;
		}
		
	}
}